<?php
/**
 * Created by PhpStorm.
 * User: work
 * Date: 18-7-14
 * Time: 下午6:03
 */


/**
 * http://www.myleftstudio.com/reference/annotations.html
 *
 * @RoutePrefix("/mall")
 */
class MallController extends \Dai\Framework\Base\BaseController
{
    /**
     * @Get("/index")
     * @Login(true)
     * @desc 商城主页
     */
    public function indexAction()
    {
        $this->execute();
    }

    /**
     * @Get("/redpack")
     * @Action("redPack")
     * @Login(true)
     * @desc 商城红包
     */
    public function redpackAction()
    {
        $this->execute();
    }

    /**
     * @Get("/redpack/more")
     * @Action("redpackMore")
     * @Login(true)
     * @desc 无限商城红包
     */
    public function redpackMoreAction()
    {
        $this->execute();
    }

    /**
     * @Get("/goods")
     * @Action("goods")
     * @Login(true)
     * @desc 商品
     */
    public function goodsAction()
    {
        $this->execute();
    }
}